package com.uroboros.spring.guides.accessing.data.jpa;

import java.util.List;
import org.springframework.data.repository.CrudRepository;

public interface CustomerRepository extends CrudRepository<Customer, Long> {

  List<Customer> findCustomerByLastName(String lastName);

  Customer findCustomerById(Long id);

}
